Component({

  properties: {
    statusBarHeight: {
      type: String,
    },
    api_host: {
      type: String
    },
    shop_info: {
      type: Object
    },
    param: {
      type: Object
    },
    wxapp_img: {
      type: Object
    },
    store: {
      type: Object
    }
  },

  data: {

  },

  methods: {
    onClickBar: function () {
      if (this.data.store.client_shop_select_module == 'all' || this.data.store.client_shop_select_module == 'shop') {
        wx.navigateTo({
          url: '/mch/shop-region/shop-region',
        })
      } else {
        wx.navigateTo({
          url: '/pages/store/store',
        })
      }
    }
  }
})